package com.feng.modules.plat.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.feng.modules.core.service.impl.BaseService;
import com.feng.modules.plat.bean.PlatTree;
import com.feng.modules.plat.dao.IMenuDao;
import com.feng.modules.plat.service.IMenuService;

public class MenuServiceImpl extends BaseService implements IMenuService {
    private IMenuDao menuDao;

    public void setMenuDao(IMenuDao menuDao) {
	this.menuDao = menuDao;
    }
    public List<Map> getMenuTree(Map parametersToMap, Map session) {
	Map<String,Object>param=new HashMap<String,Object>();
	param.putAll(parametersToMap);
	param.putAll(session);
	return menuDao.getMenuTree(param);
    }
}
